<template>
  <div>
    <div v-if="list.length" class="w-table-title">TOP5</div>

    <equip-module
      v-for="(row, idx) in list"
      :key="idx"
      class="block"
      :config="config"
      :isShowRemarks="false"
      :list="row.combo"
    />
  </div>
</template>

<script>
  import equipModule from './equip.vue'
  export default {
    components: {
      equipModule,
    },

    props: {
      list: {
        type: Array,
        required: true,
        default: () => {
          return []
        },
      },

      config: {
        type: Object,
        required: true,
        default: () => {
          return {
            equipSuitList: ['云岿如我', '啄木鸟电音', '折枝剑歌'],

            // 属性系数
            coeff: {
              暴击率: 1.57,
              暴击伤害: 1.57,
              生命值: 0.85,
              攻击力: 0.49,
              小攻击: 0.19,
              小生命: 0.38,
            },

            propertiesList: [
              '暴击率',
              '暴击伤害',
              '生命值',
              '攻击力',
              '小攻击',
              '小生命',
            ],
          }
        },
      },
    },

    data() {
      return {}
    },

    computed: {},

    mounted() {},

    methods: {},
  }
</script>

<style scoped>
  .block {
    border-bottom: 4px solid #000;
  }
</style>
